<?php
namespace apps\fzq\controllers;

class ProcController extends \Phalcon\Mvc\Controller
{
	public function indexAction()
	{
// 		$result = $this->modelsManager->executeQuery( 'getSystemDic' );
		
		$result = $this->db->query( 'call getSystemDic()' );
// 		$result = $this->_modelsManager->executeQuery( $phql, $data );
		
// 		var_dump( get_class( $result ));
		var_dump( $result->numRows());
		var_dump( $result->fetch());
// 		echo __METHOD__, '<BR>';
	}
}